package com.ylyq.ylxx.model.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @ClassName GetAccount
 * @Description TODO
 * @Author xiaweichao
 * @Date 2020/9/1 15:54
 * @Version 1.0
 */
@NoArgsConstructor
@Data
@ApiModel(value = "获取账户日预算的返回参数")
public class GetAccount {
    private String message;
    private int code;
    private DataBean data;
    private String request_id;

    @NoArgsConstructor
    @Data
    @ApiModel(value = "获取账户日预算的返回参数实体")
    public static class DataBean {

        @ApiModelProperty(value = "广告主预算数据列表")
        private List<DataListBean> list;

        @NoArgsConstructor
        @Data
        @ApiModel(value = "获取账户日预算的返回参数实体")
        public static class DataListBean {
            @ApiModelProperty(value = "广告主ID")
            private Long advertiser_id;
            @ApiModelProperty(value = "预算类型，详见【附录-预算类型】允许值: \"BUDGET_MODE_INFINITE\", \"BUDGET_MODE_DAY\"")
            private String budget_mode;
            @ApiModelProperty(value = "预算数量，当budget_mode=BUDGET_MODE_DAY时有值取值范围: ≥ 0")
            private Double budget;
        }
    }
}
